﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Manage_Service_getTactics : System.Web.UI.Page {
    int cid = 0;//课程ID
    protected List<Exam.Core.Model.TacticsQuestionType> model = new List<Exam.Core.Model.TacticsQuestionType>();

    protected void Page_Load(object sender, EventArgs e) {
        if (Request.QueryString["cid"] != null && Request.QueryString["cid"].Trim() != "") {
            cid = int.Parse(Request.QueryString["cid"].Trim());
        }
        if(!IsPostBack){
            
            getTacticsQuestionTypeList(cid);
        }

    }
    /// <summary>
    /// 获取一门课程下试题类型
    /// </summary>
    /// <param name="id"></param>
    private void getTacticsQuestionTypeList(int id) {
        model = new Exam.Core.DAL.TacticsQuestionType().getList(id);

    }
}
